MESSAGE BOX
This command will show a standard windows message box. Message is the text to be displayed in the message box and Caption is the title of the dialog window. Type can be one of the following values:
1 = Warning- An exclamation-point icon appears in the message box.
2 = Information- An icon consisting of a lowercase letter i in a circle appears in the message box.
3 = Question- A question-mark icon appears in the message box
4 = Stop- A stop-sign icon appears in the message box.
0 = No icon is displayed.
The Buttons parameter specifies the buttons that will appear in the message box. The following values are vaild:
0 = OK
1 = OK, Cancel
2 = Retry, Cancel
3 = Abort,Retry, Ignore
4 = Yes, No
5 = Yes, No, Cancel
The optional Default Button parameter sets the default button. It should be a value between 1 (default) and 4.
ARGUMENTS:
optional:
* Window Handle = Handle to the parent window
* Message = The message box text
* Caption = The message box title
* Type = The message box type
* Buttons = The message box buttons
optional:
* Default Button = The default button
RETURNS:
Message box returns an integer value the indicates which button the user pressed:
1 = OK.
2 = Cancel
3 = Abort
4 = Retry
5 = Ignore
6 = Yes
7 = No
SYNTAX
Return Integer=MESSAGE BOX([Window Handle,] Message,Caption,Type,Buttons [,Default Button])
RELATED INFO
View Dialogs Index
View STYX Index
View STYX Main File
